package com.spring.shops.model.entity;

import lombok.*;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class TzSysUser {
    private Long userId;
    private String username;
    private String password;
    private String email;
    private String mobile;
    private Byte status;
    private Long createUserId;
    private Date createTime;
    private Long shopId;

    public TzSysUser(String username, String password, String email, String mobile, Byte status, Long createUserId, Date createTime, Long shopId) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.mobile = mobile;
        this.status = status;
        this.createUserId = createUserId;
        this.createTime = createTime;
        this.shopId = shopId;
    }
}